package cn.highedu.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration // 声明这是一个管理类
@MapperScan("cn.highedu.mapper") // 加载所有的Mapper接口 创建实例
@EnableTransactionManagement
public class MapperConfig {
}
